<%--
  Created by IntelliJ IDEA.
  User: 胡斌
  Date: 2021/6/29
  Time: 21:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <a href="${pageContext.request.contextPath}/i18nTest/first?locale=zh_CN">
        <spring:message code="language.cn"/>
    </a> --
    <a href="${pageContext.request.contextPath}/i18nTest/first?locale=en_US">
        <spring:message code="language.en"/>
    </a>
    <br>
    <br>
    <spring:message code="first"/>
    <br>
    <br>
    <a href="${pageContext.request.contextPath}/my/second">
        <spring:message code="second"/>
    </a>
</body>
</html>
